package com.rc.saas.mini.model.elec;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" elec_parking_pay ", description=" 停车费用支付表 ")
public class ElecParkingPay extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long parkingPayId;
 
    @ApiModelProperty(value = "运营商")
    private String tenantCode;
 
    @ApiModelProperty(value = "会员ID")
    private Long memberId;
 
    @ApiModelProperty(value = "支付的账户类型 0个人钱包 1企业钱包 默认0")
    private String accountType;
 
    @ApiModelProperty(value = "支付方式  0 微信支付  1支付宝")
    private String paymentType;
 
    @ApiModelProperty(value = "订单ID,关联elec_station_parking_order表")
    private Long parkingOrderId;
 
    @ApiModelProperty(value = "订单编号,关联elec_station_parking_order表")
    private String selfOrderNum;
 
    @ApiModelProperty(value = "支付停车费金额")
    private BigDecimal amount;
 
    @ApiModelProperty(value = "实扣金额（当支付机构做满送营销活动时amount和fact_amount会不一致）")
    private BigDecimal factAmount;
 
    @ApiModelProperty(value = "当平台做满送营销活动时赠送余额")
    private BigDecimal giveAmount;
 
    @ApiModelProperty(value = "到帐时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;
 
    @ApiModelProperty(value = "到帐状态 0未到帐   1已到帐 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    public Long getParkingPayId() {
        return parkingPayId;
    }

    public void setParkingPayId(Long parkingPayId) {
        this.parkingPayId = parkingPayId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public Long getParkingOrderId() {
        return parkingOrderId;
    }

    public void setParkingOrderId(Long parkingOrderId) {
        this.parkingOrderId = parkingOrderId;
    }

    public String getSelfOrderNum() {
        return selfOrderNum;
    }

    public void setSelfOrderNum(String selfOrderNum) {
        this.selfOrderNum = selfOrderNum;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getFactAmount() {
        return factAmount;
    }

    public void setFactAmount(BigDecimal factAmount) {
        this.factAmount = factAmount;
    }

    public BigDecimal getGiveAmount() {
        return giveAmount;
    }

    public void setGiveAmount(BigDecimal giveAmount) {
        this.giveAmount = giveAmount;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
